package com.gzsxy.esjy.common.base.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zxl
 * @since 2022/3/5
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JwtInfo {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "头像")
    private String imagePath;
    //权限、角色等
    //不要存敏感信息
}
